//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

import java.util.Comparator;
import java.util.Map;

public class StringKeyIntValueComparator implements Comparator<String> {
    Map<String, Integer> base;

    public StringKeyIntValueComparator(Map<String, Integer> base) {
        this.base = base;
    }

    public int compare(String a, String b) {
        return ((Integer)this.base.get(a)).intValue() >= ((Integer)this.base.get(b)).intValue()?1:-1;
    }
}
